package com.hmall.mapper;

import com.hmall.model.MallOrderSalesCont;
import com.hmall.util.MyMapper;
import com.hmall.vo.MallOrderSalesContVo;
import org.apache.ibatis.annotations.Param;

public interface MallOrderSalesContMapper extends MyMapper<MallOrderSalesCont> {
    //插入数据
    public void insertOrderSalesCont(@Param("orderSalesContVo") MallOrderSalesContVo orderSalesContVo);
    //更新销售合同
    public void updateOrderSalesCont(@Param("orderSalesContVo") MallOrderSalesContVo orderSalesContVo);
    public  MallOrderSalesContVo selectSalesContByOderNo(@Param("orderNo") Long orderNo);
    //按合同编号查询合同URL
    public  MallOrderSalesContVo selectSalesContByContNo(@Param("contNo") String contNo);
    //<!-- 同意超时设置订单 未签合同35-->
    public void agreeYesContOutTime(@Param("salesContEndTime") Integer salesContEndTime);
    //未同意超时
    public void agreeNoContOutTime(@Param("salesContEndTime") Integer salesContEndTime);
    public void deleteContByOderNo(@Param("orderNo") Long orderNo);
}